.idea=filterId(getp('idea'));
idea!='' && idea!=() && getRes(idea)==() ?
(
	.ideaDis='Discussion on '+idea;
	.ideaLog='Log of '+idea;
	[res].user = getRes(getUser!);
	message.params={:'action'=>'Create', 'o'=>'MemberAccess', 'type'=>'web page', 'resource'=>idea};
	act!;
	message.params={:'action'=>'Create', 'o'=>'MemberAccess', 'type'=>'discussion', 'resource'=>ideaDis, 'anonymous'=>1};
	act!;
	message.params={:'action'=>'Create', 'o'=>'MemberAccess', 'type'=>'log', 'resource'=>ideaLog, 'anonymous'=>1};
	act!;
	message.params={:'action'=>'addStat', 'resource'=>idea, 'p'=>'has accessibility', 'o'=>'ideaAdminAccess'};
	act!;
	message.params={:'action'=>'addStat', 'resource'=>ideaDis, 'p'=>'has accessibility', 'o'=>'ideaAdminAccess'};
	act!;
	message.params={:'action'=>'addStat', 'resource'=>ideaLog, 'p'=>'has accessibility', 'o'=>'ideaAdminAccess'};
	act!;
	message.params={:'action'=>'addStat', 'resource'=>idea, 'p'=>'is a', 'o'=>'ilab idea'};
	act!;
	message.params={:'action'=>'addStat', 'resource'=>ideaDis, 'p'=>'discusses', 'o'=>idea};
	act!;
	message.params={:'action'=>'addStat', 'resource'=>ideaLog, 'p'=>'logs', 'o'=>idea};
	act!;
);
.loc='resourcerer.tsp?'+params2url{:'resource'=>idea};
%>
<%=pageHead%>
<meta http-equiv="refresh" content="0;URL=<%=loc%>" />
</head>
<body onload="window.location='<%=loc%>'" >
</body>
</html>